package com.ysd.twocrm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

//权限表
@TableName(value = "permission")
public class Permission {
@TableId(value = "permissionId")
    private String permissionId; //权限id
@TableField(value = "permissionValue")
    private String permissionValue;//权限值
    @TableField(value = "permissionModule")
    private String permissionModule;//权限模块
    @TableField(value = "title")
    private String title;//权限名称
    @TableField(value = "permissionLastUpdateTime")
    private Date permissionLastUpdateTime;//修改时间

    @Override
    public String toString() {
        return "Permission{" +
                "permissionId=" + permissionId +
                ", permissionValue='" + permissionValue + '\'' +
                ", permissionModule='" + permissionModule + '\'' +
                ", title='" + title + '\'' +
                ", permissionLastUpdateTime=" + permissionLastUpdateTime +
                '}';
    }

    public Permission(String permissionId, String permissionValue, String permissionModule, String title, Date permissionLastUpdateTime) {
        this.permissionId = permissionId;
        this.permissionValue = permissionValue;
        this.permissionModule = permissionModule;
        this.title = title;
        this.permissionLastUpdateTime = permissionLastUpdateTime;
    }

    public String getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(String permissionId) {
        this.permissionId = permissionId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }



    public String getPermissionValue() {
        return permissionValue;
    }

    public void setPermissionValue(String permissionValue) {
        this.permissionValue = permissionValue;
    }

    public String getPermissionModule() {
        return permissionModule;
    }

    public void setPermissionModule(String permissionModule) {
        this.permissionModule = permissionModule;
    }



    public Date getPermissionLastUpdateTime() {
        return permissionLastUpdateTime;
    }

    public void setPermissionLastUpdateTime(Date permissionLastUpdateTime) {
        this.permissionLastUpdateTime = permissionLastUpdateTime;
    }

    public Permission() {
        super();
    }
}
